﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AG.Data
{
    public class AGMapObject
    {
        public uint Id { get; set; }
        public ushort UnitId { get; set; }
        public string Caption { get; set; }
        public byte CategoryId { get; set; }
        public uint PlayerId { get; set; }

        public ushort PosRow { get; set; }
        public ushort PosCol { get; set; }

        public ushort ActionId { get; set; }
        public ushort DirectionId { get; set; }

        public AGMapObject()
        {
            CategoryId = 0;
        }

        public override string ToString()
        {
            return string.Format("[{0}][{1}]{2}", CategoryId, Id, Caption);
        }
    }
}
